from django.urls import path

from blog import views

app_name = 'blog'
urlpatterns = [
    path('index', views.index, name='index'),
    path('detail/<int:blog_id>', views.detail, name='detail'),
    path('pub',views.pub_blog, name='pub_blog'),
    path('comment/pub',views.pub_comment, name='pub_comment'),
    path('search',views.search, name='search'),
]
